@charset "UTF-8";
@import url('https://rsms.me/inter/inter.css');
html { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
  html { font-family: 'Inter var', sans-serif; }
}

:root {
    --red: rgb(229,46,68);
}

/***** HEADER *****/
#menu {
    margin: 0px;
}

#name {
    font-family: obviously-compressed, sans-serif;
    font-weight: 500;
    font-size: 60px;
    line-height: 0.5em;
    letter-spacing: 0.01em;
    margin: 20px;
}

#crest {
    height: 45px;
    margin: 20px calc(2vw + 10px);
    color: red;
}


/**** Dropdown ****/

header {
	display: block;
	width: 100%;
	height: 50px;
	background-color: inherit;
	z-index: 100;
    
    font-family: tenon, sans-serif;
    color: #4d4d4d;
    
}

.header_inner {
	display: flex;
    margin: 20px calc(2vw + 10px);
	justify-content: flex-end;
	background-color: inherit;
	
}

.navigation, .main {
	display: none;
}

.menu {
	display: flex;
	background-color: inherit;
}

.menu_items {
	font-weight: 400;
	font-size: 20px;
	letter-spacing: 0.03em;
	text-decoration: none;
    
    margin-left: 70px;
	color: #000;
	cursor: pointer;
}       

.menu_items:hover {
    color: var(--red);
}


/***** BODY *****/
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: coranto-2, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
    -webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}

section {
    display: flex;
    flex-direction: row;
    margin: 50px 0px;
}

img {
  max-width: 100%;
}

footer {
    margin: 0 calc(2vw + 10px) 10px calc(2vw + 10px);
}


/***** Parallax *****/

.parallax {
    -webkit-perspective: 300px;
    perspective: 300px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
}

.parallax-group {
    position: relative;
    height: 500px;
    height: 100vh;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    
    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
}

.parallax__layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.parallax__layer--base {
    z-index: 4;
    transform: translateZ(0);
    display: flex;
}
.parallax__layer--back {
    transform: translateZ(-150px) scale(1.5);
    z-index: -1;
}



#group1 {
    z-index: 5;
}

#group2 {
    z-index: 3;
}

/*** Non Parallax ***/

#intro {
    margin: 20vh 0 100px 0;
}

.bio-container {
    width: 50vw;
    margin: 0px 0px 0px calc(2vw + 10px);
    z-index: 10;
    left: 25vw;
}
    
.bio-container h2 {
    font-size: calc(1vw + 23px);
}
    
.name-script-container {
    width: 100%;
    top: 60%;
}

#name-script {
    width: 80%;
    margin: 0;
    left: 0;
    z-index: 1;
    fill: var(--red);
    opacity: 1;
}

.left-container {
    flex: 1;
    width: 50%;
}

.right-container {
    flex: 1;
}

.slideshow-container {
    background: #fff;
    position: relative;
    grid-column-start: 2;
    grid-row-start: 1;
    grid-row-end: 4;
    min-width: 0;
}

.slideshow {
	position: relative;
	margin: auto 0px; 
}

.slide-controls {
    position: relative;
    height: 20px;
    margin-top: 20px;
    width: 100%;
}

.text-container {
    max-width: 600px;
    margin: 20px 40px 0px 40px;
    min-height: 200px
}

.reference {
    font-size: 0.9em;
    color: var(--red);
    vertical-align: baseline;
    position: relative;
    top: -0.4em;
}


/***** TYPOGRAPHY *****/

h1 {
    font-family: tenon, sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 100px;
    line-height: 0.95em;
    letter-spacing: 0em;
    margin-bottom: 24px;
}

h2 {
    font-family: coranto-2-headline, serif;
    font-weight: 300;
    font-size: 25px;
    line-height: 1.5em;
    text-align: left;
    
}

h2 a {
    text-decoration: none;
    color: #000;
    position: relative;
    
}

.link-anim:after {
    content: "";
    width: 0%;
    height: 0.4em;
    position: absolute;
    background: #F2F2F2;
    z-index: -1;
    bottom: 0.2em;
    left: 0;
    transition: 0.4s;
}

.link-anim:hover:after {
    width: 100%;
}

h3 {
    font-family: tenon, sans-serif;
    font-size: 30px;
    font-weight: 400;
    margin-top: 40px;
}

h3 a {
    text-decoration: none;
    color: var(--red);
    
}

p {
    font-family: tenon, sans-serif;
    font-size: 1.6em;
    line-height: 1.5em;
    letter-spacing: 0.025em;
    font-weight: 400;
}

h5 {
    font-family: tenon, sans-serif;
    font-size: 1.2em;
    font-weight: 500;
    color: #808080;
    letter-spacing: 0.06em;
}


/***** PROJECT THUMBNAILS *****/

.project-grid {
    display: grid;
    position: relative;
    grid-template-columns: repeat(auto-fill, minmax(min(500px, 100%), 1fr));
    grid-gap: 1rem;
    grid-template-rows: auto;
    margin: 0 calc(2vw + 10px) 40px calc(2vw + 10px);
    z-index: 200;
    transform: translateZ(0px);
}

.project-thumb {
    position: relative;
    z-index: 200;
}

.project-thumb img {
    width: 100%;
}

.product-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 25px;
    height: 25px;
}

/***** PROJECT PAGE *****/

.project {
    position:relative;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto;
    grid-column-gap: 10vw;
    
    margin: 250px calc(2vw + 10px) 50px calc(2vw + 10px);
}

.project-text-1{
    grid-column-start: 1;
    max-width: 550px;
}

.project-text-2 {
    margin-top: 24px;
    max-width: 550px;
}


/***** MEDIA QUERIES *****/

@media (max-width:1300px)  {
    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
    }
}


@media (max-width:1100px) {
    
    .project {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-row-gap: 80px;
    }
    
    .slideshow-container {
        background: #fff;
        position: relative;
        grid-column-start: 1;
        grid-row-start: 2;
        grid-row-end: 3;
        min-width: 0;
    }
    
    .project-text-2 {
        margin-top: 0px;
    }
    
    .bio-container {
        width: 75vw;
        margin: 0px 0px 0px calc(2vw + 10px);
        z-index: 10;
        left: 37.5vw;
    }
}



@media (max-width:700px) {
    
    h1 {
        font-size: calc(15px + 12vw);
    }
    
    .bio-container h2 {
    font-size: 25px;
}
    
    .menu_items {
        margin-left: 50px;
    }
    
    .name-script-container {
        width: 140vw;
        
    }
}

@media (max-width:600px) {
    
    .bio-container {
        width: 100vw;
        margin: 0px;
        padding: 0px calc(2vw + 10px);
        left: 50vw;
    }
} 

@media (max-width:450px) {

    .menu_items {
        font-size: 18px;
        margin-left: 30px;
    }       
}

@media (max-width:350px) {
    
    .project {
        margin: 150px calc(2vw + 10px) 50px calc(2vw + 10px);
    }
    
    h2 {
        font-size: 20px;
        line-height: 1.45em;
        text-align: left;
    }
    
    .menu_items {
        font-size: 16px;
        margin-left: 20px;
    }       
}
